@charset "utf-8";
.wrap {
    position: relative;
    header{
        width: 100%;
        min-width: 1000px;
        height: 75px;
        border-bottom: 1px solid #DFDFDF;
        //logo
        .logo {
            width: 12%;
            height: 75px;
            line-height: 75px;
            padding-left: 21px;
            box-sizing: border-box;
            cursor: pointer;
            a{
                img{
                    vertical-align: middle;
                }
            }
        }
        .head_mid{
            width: 63%;
            //导航
            >ul{
                float: left;
                padding-left: 8%;
                width: 68%;
                display: flex;
                >li{
                    position: relative;
                    float: left;
                    height: 75px;
                    line-height: 75px;
                    flex: auto;
                    -webkit-box-flex: 1;
                    max-width: 25%;
                    >a{
                        display: block;
                        font-size: 14px;
                        text-align: center;
                        color: #444F58;
                        &:hover{
                            background: #E7E7E7;
                        }
                    }
                    &:hover .submenu{
                            display: block;
                    }
                    //下拉框
                    .submenu{
                        z-index: 9999;
                        background: white;
                        display: none;
                        position: absolute;
                        top: 75px;
                        left: 0;
                        padding-top: 35px;
                        padding-bottom: 35px;
                        border: 1px solid #DDD;
                        border-right: 0;
                        box-shadow: 0 0 8px #DDD;
                        -moz-box-shadow: 0 0 8px #DDD;
                        -webkit-box-shadow: 0 0 8px #DDD;
                        box-sizing: border-box;
                        white-space: nowrap;
                        line-height: 0;
                        .submenu_con{
                            display: inline-block;
                            border-right: 1px solid #efefef;
                            margin-left: 16px;
                            &:last-child{
                                border-right: none;
                                vertical-align: top;
                            }
                            .submenu_con_title{
                                text-align: left;
                                height: 16px;
                                line-height: 16px;
                                min-width: 120px;
                                a{
                                    font-size: 16px;
                                    font-weight: bold;
                                    color: #444F58;
                                }
                            }
                            ul{
                                display: inline-block;
                                vertical-align: top;
                                padding-right: 15px;
                                &:first-child{
                                    li:first-child{
                                        margin-top: 0;
                                    }
                                }
                                li{
                                    width: 100%;
                                    height: 16px;
                                    line-height: 16px;
                                    margin-top: 20px;
                                    >a{
                                        font-size: 14px;
                                        color: #444F58;
                                        &:hover{
                                            color: red;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
            //搜索框
            .seach{
                position: relative;
                float: right;
                width: 22%;
                border: 1px solid #DFDFDF;
                padding-left: 10px;
                padding-right: 33px;
                margin-top: 25px;
                margin-left: 1%;
                margin-right: 1%;
                border-radius: 13px;
                box-sizing: border-box;
                form{
                    input[type=text]{
                        height: 24px;
                        line-height: 24px;
                        width: 100%;
                        font-size: 14px;
                    }
                    i{
                        width: 27px;
                        height: 27px;
                        text-align: center;
                        line-height: 30px;
                        border-radius: 50%;
                        position: absolute;
                        top: -2px;
                        right: 0px;
                        color: #ffffff;
                        background: #E83F37;
                        font-size: 23px;
                        cursor: pointer;
                    }
                }
            }
        }
        .head_right{
            width: 25%;
            ul{
                width: 100%;
                li{
                    position: relative;
                    float: right;
                    height: 75px;
                    line-height: 75px;
                    min-width: 22%;
                    border-left: 1px solid #DFDFDF;
                    box-sizing: border-box;
                    &:nth-child(2){
                        max-width: 34%;
                    }
                    >a{
                        display: block;
                        font-size: 12px;
                        color: #878787;
                        text-align: center;
                        &:hover{
                            background: #E7E7E7;
                        }
                        span{
                            width: 21px;
                            height: 19px;
                            padding: 2px;
                            border: 1px solid #C5C5C6;
                        }
                    }
                    //下拉框
                    &:hover .login{
                            display: block;
                    }
                    .login{
                        z-index: 9999;
                        background: white;
                        display: none;
                        position: absolute;
                        top: 75px;
                        left: 0;
                        padding-left: 20px;
                        padding-right: 20px;
                        border: 1px solid #DDD;
                        border-right: 0;
                        box-shadow: 0 0 8px #DDD;
                        -moz-box-shadow: 0 0 8px #DDD;
                        -webkit-box-shadow: 0 0 8px #DDD;
                        box-sizing: border-box;
                        white-space: nowrap;
                        >a{
                            font-size: 14px;
                            color: #444F58;
                            &:hover{
                                color: red;
                            }
                        }
                    }
                }
            }
        }
    }
}
